package com.ychs.lawyerback.pojo;


import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 *
 * @author developer
 * @since 2025-08-14
 */

@Data
public class MenuEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /** id*/
    private Long menuId;
    /**菜单名称*/
    private String menuName;
    /**菜单图标*/
    private String icon;
    /**父菜单*/
    private Long parentId;
    /**菜单类型 D：目录 M：菜单 B:按钮*/
    private String menuType;
    /**排序*/
    private Integer orderNum;
    /**路由名称*/
    private String routerName;
    /**路由地址*/
    private String path;
    /**组件路径*/
    private String component;
    /**权限字符*/
    private String permission;
    /**菜单状态 1:正常0：停用*/
    private String menuFlag;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;

//
//    /** 子菜单列表（用于树形结构） */
//    @TableField(exist = false)
//    private List<MenuEntity> children;
}
